package com.ds.cluster;

import com.ds.common.ConfigCode;

import java.util.List;
import java.util.Map;

public interface ClusterMananer {

	public ServerNode getSubServer(String sessionId, ConfigCode systemCode);

	public Map<String, ServerNode> getServerMap(ConfigCode configCode);

	public List<ServerNode> getServerNodeListOrderByPersonCount(ConfigCode configCode);

	public boolean experssPar(String expressStr);

	public void clearUser(String personId);

	public String getServerIdBySessionId(String sessionId);



}
